package com.guiji.quartz.task;

import com.guiji.quartz.domain.Aninews;
import com.guiji.quartz.domain.ChinaOrgWorld;
import com.guiji.quartz.domain.Techcircle;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
 * @program: cms-vue-plus
 * @description:
 * @author: wangxw
 * @date 2021/11/12 17:24
 */
@Component("chinaOrgWorldTask")
public class ChinaOrgWorldTask {

	private static final Logger log = LoggerFactory.getLogger(ChinaOrgWorldTask.class);

	public void chinaOrgWorldTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		ChinaOrgWorld chinaOrgWorld = new ChinaOrgWorld();
		try {
			chinaOrgWorld.mainMethod();
		} catch (Exception e) {
		} finally {
			log.info("ChinaOrgWorldTask-end-:{}", System.currentTimeMillis() - startTime);
		}

	}
}

